import {Column, Entity, PrimaryGeneratedColumn} from "typeorm";

/**
 * 申词记录表
 */
@Entity()
export class AliasRecord {
    @PrimaryGeneratedColumn()
    id!: number;

    @Column('bigint')
    user_id!: number;

    @Column('varchar')
    word!: string;

    @Column('varchar')
    title!: string;

    @Column('varchar')
    video_url!: string;

    @Column('int')
    video_status!: number;

    @Column('int')
    post_try_count!: number;

    @Column('datetime')
    create_time!: Date;

    @Column('datetime')
    last_update_time!: Date;

    @Column('datetime')
    video_create_time!: Date;

    @Column('varchar')
    book_id!: string;

    @Column('varchar')
    alias_id!: string;

    @Column('varchar')
    platform_id!: string;
}
